<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 陈奕安
  Date: 2025/5/27
  Time: 11:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
交换变量前a=${3},b=${4}<br/>
<c:set var="a" value="3" /><br/>
<c:set var="b" value="4" /><br/>
<c:set var="t" value="${a}" /><br/>
<c:set var="a" value="${b}" /><br/>
<c:set var="b" value="${t}" /><br/>
交换后：a=${a},b=${b}<br/>
</body>
</html>
